import { Module } from '@nestjs/common';
import { UserService } from './user.service';
import { UserController } from './user.controller';
import { SequelizeModule } from '@nestjs/sequelize';
import SysUser from './entities/sys.user.entity';
import SysRole from './entities/sys.role.entity';
import UserRole from './entities/user.role.entity';
 

@Module({
  imports:[SequelizeModule.forFeature([SysUser, SysRole, UserRole])],
  controllers: [UserController],
  providers: [UserService],
  exports: [UserService],
})
export class UserModule {}
